import pytest
from pathlib import Path
from api.bundle.apis import BundleApi
from common.setting import ensure_path_sep
from task import query_dataset
from util.mysqlUtils.db_pool import Database
from util.readFileUtils.yamlControl import GetYamlData
from util.sqlalchemy.sqlalchemy_manager import DatabaseManager

test_case_data = GetYamlData(str(Path(__file__).parent) + "\\test_bundle_grayscale.yaml").get_yaml_data()
d_cginstance_db = Database(ensure_path_sep("\\config\\mysql_config.yaml"), "union", "d_cginstance")
db_d_cginstance_manager = DatabaseManager('mysql+pymysql://viu_root:myviu_4359@10.63.4.122:23306/test')


